﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Volo.Abp.Identity;

namespace EcoSystem
{
    public interface ISystemRoleAppService : IApplicationService
    {
        public Task<IdentityRoleDto> GetAsync(Guid id);

        public Task<IdentityRoleDto> CreateAsync(IdentityRoleDto input);
        public Task<IdentityRoleDto> UpdateAsync(Guid id, IdentityRoleDto input);

        public Task<PagedResultDto<IdentityRoleDto>> GetListAsync(GetIdentityRolesInput input);

        public Task<ListResultDto<IdentityRoleDto>> GetAllListAsync(GetIdentityRolesInput input);

    }
}
